import request from '@/utils/request'

export function GetPreList (params) {
	return request({
		url: '/order/prescribe/listById',
		method: 'get',
		params: params
	})
}

export function EditPrescribe(params) {
	return request({
		url: '/order/prescribe/edit',
		method: 'post',
		data: params
	})
}

export function GetPrescribe(id) {
	return request({
		url: `/order/prescribe/${id}`,
		method: 'get'
	})
}
